//
//  MSDiscoverViewController.swift
//  SwiftWeibo
//
//  Created by 牟松 on 16/8/1.
//  Copyright © 2016年 DoNews. All rights reserved.
//

import UIKit

class MSDiscoverViewController: MSBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

    }

    override func setupUI() {
        super.setupUI()
        if !MSAFNManage.shared.userLogin {
            navBar.tintColor = #colorLiteral(red: 0.9960784314, green: 0.5490196078, blue: 0.1411764706, alpha: 1)
            navItem.leftBarButtonItem = UIBarButtonItem(title: "登录", style: .plain, target: self, action: #selector(loginButtonDidClick))
            navItem.rightBarButtonItem = UIBarButtonItem(title: "注册", style: .plain, target: self, action: #selector(registButtonDidClick))
        } else {
            
        }
    }

}
